using Awaiter;
using YesPlayLove.Classes;
using YesPlayLove.Clusters;
using jQueryApi;

namespace YoshiFlowMain
{
    //[IgnoreNamespace] Don't use because full class name is used in Master.cs to find this class
    public sealed class HomePage : YoshiPage
    {
        public HomePage()
        {
            BasicBuildAw(Await.AsyncAw, UserTheme.PageTitle);
        }

        public override void RefreshAw(Await awp)
        {
            //jQuery.FromHtml("<h2/>").Html("Ur Aliveness Feed !!! <b>&#9788;</b>").CSS("margin", "50px").AppendTo(PageCluster);

            jQueryObject feed = jQuery.FromHtml("<div/>").AppendTo(PageCluster);

            new Await()
                .AddAw(FeedBubble.NewAw, feed)
                .Commit(awp);
        }

    }
}